NevronOpenVision
Nevron.Nov.Diagram.Shapes Namespace / NShapeFactory Class / CreateCenterAndRelativePorts Method / CreateCenterAndRelativePorts(NShape,NPoint,NPoint[]) Method
shape
center of shape
vertices for which to generate ports
In This Topic
    CreateCenterAndRelativePorts(NShape,NPoint,NPoint[]) Method
    In This Topic
    Creates center and relative ports.
    Syntax
    protected void CreateCenterAndRelativePorts( 
       NShape shape,
       NPoint center,
       NPoint[] vertices
    )

    Parameters

    shape
    shape
    center
    center of shape
    vertices
    vertices for which to generate ports
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also